package hsintiao.com.xintiaoAPP.service.impl;

import hsintiao.com.xintiaoAPP.entity.ArticleType;
import hsintiao.com.xintiaoAPP.mapper.ArticleTypeMapper;
import hsintiao.com.xintiaoAPP.service.ArticleTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleTypeServiceImpl implements ArticleTypeService {
    @Autowired
    private ArticleTypeMapper articleTypeMapper;


    @Override
    public List<ArticleType> allType() {
        return articleTypeMapper.allType();
    }
}
